userinput = input('Please input three numbers split by ",": ',)
numbs = userinput.split(',')
# for i in sorted(numbs,key=int):
#     print(i,end=" ")
a,b,c = numbs
if int(a) > int(b) and int(a) > int(c):
    a,b,c = c,b,a
    if int(a) > int(b):
        a,b = b,a
        print(a,b,c)
    else:
        print(a,b,c)
elif int(b) > int(a) and int(b) > int(c):
    a,b,c = a,c,b
    if int(a) > int(b):
        a, b = b, a
        print(a, b, c)
    else:
        print(a, b, c)
else:
    if int(a) > int(b):
        a, b = b, a
        print(a, b, c)
    else:
        print(a, b, c)

